Method, node device and system for establishing label switched path

ABSTRACT

A method, node device, and system are disclosed for establishing a label switched path, which belong to the field of communications technologies. The method includes: receiving a connection establishment request message sent by a source node to a sink node, where the connection establishment request message carries bandwidth request information corresponding to different conditions, and each of the bandwidth request information corresponds to one condition; and reserving, according to the bandwidth request information corresponding to the different conditions, a corresponding bandwidth resource in subsidiary remaining bandwidth corresponding to the different conditions on a local link, thereby establishing a connection between the source node and the sink node.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of International Patent Application No. PCT/CN2012/071055, filed on Feb. 13, 2012, which claims priority to Chinese Patent Application No. 201110039536.0, filed on Feb. 17, 2011, both of which are hereby incorporated by reference in their entireties.

FIELD OF THE INVENTION

The present invention relates to the field of communications technologies, and in particular, to a method, node device and system for establishing a label switched path.

BACKGROUND OF THE INVENTION

In a packet transport network, as shown in FIG. 1, a procedure of establishing a label switched path is that, a source node sends a Path message (connection establishment request message) hop-by-hop to a sink node, where the Path message carries bandwidth request information; after receiving the bandwidth information, each intermediate node on the way completes reserving a bandwidth resource, and allocates the bandwidth resource to a link; after receiving the Path message, the sink node returns a Resv message (connection establishment request response message), and finally a label path is successfully established between the source node and the sink node.

With the development of communications technologies, the intermediate node in the packet transport network may be a fiber node, and may also be or a microwave node. One important characteristic of the microwave node is adaptive modulation, which may adjust a modulation manner of a transmit signal according to an external environment, so as to maintain a high link usability, that is, bandwidth of the microwave node is changeable, and has a maximum value and a minimum value. In the prior art, after receiving the Path message sent by the source node, the microwave node may reserve bandwidth for this Path request when the bandwidth is at the minimum value, so as to maintain the high link usability.

After analysis of the prior art, the inventor finds that the prior art has at least the following defects. Because the bandwidth of the microwave node changes in a range, if it is computed when the bandwidth is at the minimum value, the bandwidth resource may not be allocated in most cases, which is a waste of the bandwidth resource. Moreover, if the bandwidth information carried in the Path message is greater than the minimum bandwidth of a microwave link, the microwave node may refuse to establish the link, so that the label switched path cannot be established on this node. For example, minimum bandwidth of one microwave link is 50 Mbps and maximum bandwidth of it is 400 Mbps due to a reason of the adaptive modulation, and assume that the bandwidth request information carried in the Path message sent by an initiating end (source node) when establishing the label switched path is 60 Mbps, if the microwave node reserves the bandwidth information for the path request according to the minimum bandwidth resource of 50 Mbps, the path cannot be established, while in fact a large quantity of bandwidth resources are left idle.

SUMMARY OF THE INVENTION

In order to enable maximum utilization of a bandwidth resource of an adaptive bandwidth link and ensure connection availability, embodiments of the present invention provide a method, node device and system for establishing a label switched path. The technical solutions are as follows:

In one aspect, a method for establishing a label switched path is provided, including:

receiving a connection establishment request message sent by a source node to a sink node, where the connection establishment request message carries bandwidth request information corresponding to different conditions, and each of the bandwidth request information corresponds to one condition; and

reserving, according to the bandwidth request information corresponding to the different conditions, a corresponding bandwidth resource in subsidiary remaining bandwidth corresponding to the different conditions on a local link, thereby establishing a connection between the source node and the sink node.

In one aspect, a node device is provided, including:

a first receiving module, configured to receive a connection establishment request message sent by a source node to a sink node, where the connection establishment request message carries bandwidth request information corresponding to different conditions, and each of the bandwidth request information corresponds to one condition; and

an executing module, configured to reserve, according to the bandwidth request information corresponding to the different conditions, a corresponding bandwidth resource in subsidiary remaining bandwidth corresponding to the different conditions on a local link, thereby establishing a connection between the source node and the sink node.

In another aspect, a system for establishing a label switched path is further provided, including: a source node device and a sink node device, where

the source node device is configured to send a connection establishment request message along a label switched path to the sink node, where the connection establishment request message carries bandwidth request information corresponding to different conditions, and each of the bandwidth request information corresponds to one condition; and

the sink node device is configured to receive the connection establishment request message sent by the source node device, reserve, according to the bandwidth request information corresponding to the different conditions, a corresponding bandwidth resource in remaining bandwidth corresponding to the different conditions on a local link, and return a connection establishment response message through an intermediate node device on the label switched path, thereby establishing a connection between the source node device and the sink node device.

Beneficial effects of the embodiments of the present invention are that: Corresponding bandwidth request information under different conditions is carried in the initiated connection establishment request message, so that the nodes on the label switched path may, according to their own characteristics, reserve bandwidth information, and maximum utilization of the bandwidth resource is enabled under a precondition that link availability is ensured.

BRIEF DESCRIPTION OF THE DRAWINGS

To illustrate the technical solutions of the embodiments of the present invention or in the prior art more clearly, accompanying drawings that need to be used in the description of the embodiments or the prior art are briefly introduced below. Evidently, the accompanying drawings are merely some embodiments of the present invention, and persons of ordinary skill in the art may obtain other accompanying drawings based on these accompanying drawings without making creative efforts.

FIG. 1 is a flow chart of a message for establishing a label switched path in the prior art;

FIG. 2 is a flow chart of a method for establishing a label switched path according to Embodiment 1 of the present invention;

FIG. 3 is a flow chart of a method for establishing a label switched path according to Embodiment 2 of the present invention;

FIG. 4 is a diagram of an application scenario of establishing a label switched path according to Embodiment 2 of the present invention;

FIG. 5 is a diagram of an application scenario of establishing a label switched path according to Embodiment 2 of the present invention;

FIG. 6 is a schematic structural diagram of a node device according to Embodiment 3 of the present invention;

FIG. 7 is a schematic structural diagram of another node device according to Embodiment 3 of the present invention;

FIG. 8 is a schematic diagram of a system for establishing a label switched path according to Embodiment 3 of the present invention; and

FIG. 9 is a schematic diagram of another system for establishing a label switched path according to Embodiment 3 of the present invention.

DETAILED DESCRIPTION OF THE EMBODIMENTS

To make the objectives, technical solutions, and advantages of the present invention more clear, the embodiments of the present invention are described in further detail below with reference to the accompanying drawings.

Embodiment 1

Referring to FIG. 2, this embodiment of the present invention provides a method for establishing a label switched path, including:

Step 101: Receive a connection establishment request message sent by a source node to a sink node, where the connection establishment request message carries corresponding bandwidth request information under different conditions, and each of the bandwidth request information corresponds to one condition; and

Step 102: Reserve, according to the bandwidth request information corresponding to the different conditions, a corresponding bandwidth resource in remaining bandwidth corresponding to the different conditions on a local link, thereby establishing a connection between the source node and the sink node.

Further, in this embodiment, before the receiving the connection establishment request message sent by the source node to the sink node, the method further includes:

sending a link state advertisement, so that a route computing unit is enabled to obtain network topology information according to the collected link state advertisement, obtain a connection route of a label switched path between the source node and the sink node through computing based on the topology information, and deliver the connection route of the label switched path to a signaling unit of the source node, where the link state advertisement carries link bandwidth under different conditions, and each of the link bandwidth corresponds to one condition.

In this embodiment, when the nodes on the label switched path are microwave nodes, the reserving, according to the bandwidth request information corresponding to the different conditions, the corresponding bandwidth resource in subsidiary remaining bandwidth corresponding to the different conditions on the local link, thereby establishing the connection between the source node and the sink node includes:

judging whether a subsidiary bandwidth demand, which is obtained through computing, in the corresponding bandwidth request information under each of the different conditions is smaller than or equal to the remaining bandwidth under the corresponding condition on the local link; and

if yes, reserving, under each condition, the subsidiary bandwidth demand in the corresponding bandwidth request information under each of the different conditions.

In this embodiment, before the judging whether the subsidiary bandwidth demand, which is obtained through computing, in the corresponding bandwidth request information under each of the different conditions is smaller than or equal to the remaining bandwidth under the corresponding condition on the local link, the method further includes:

according to bandwidth requests corresponding to the different conditions, computing subsidiary bandwidth which needs to be reserved under each condition.

When the nodes on the label switched path are fiber nodes, the reserving, according to the bandwidth request information corresponding to the different conditions, the corresponding bandwidth resource in subsidiary remaining bandwidth corresponding to the different conditions on the local link, thereby establishing the connection between the source node and the sink node includes:

obtaining maximum total bandwidth information carried in the connection establishment request message;

judging whether maximum total bandwidth is smaller than or equal to the subsidiary remaining bandwidth on the local link; and

if yes, reserving the maximum total bandwidth.

Further, the method for establishing the label switched path further includes:

receiving a connection maintenance request message sent by the source node, where the connection maintenance request message carries an adjusted bandwidth requirement; and

adjusting current bandwidth according to the adjusted bandwidth requirement.

The condition in this embodiment includes: an availability parameter, a priority level, or a case of a change of the bandwidth.

Beneficial effects of the embodiment of the present invention are that: Corresponding bandwidth request information under different conditions is carried in the initiated connection establishment request message, so that the nodes on the label switched path may, according to their own characteristics, reserve bandwidth information, and maximum utilization of the bandwidth resource is enabled under a precondition that link availability is ensured.

Embodiment 2

Referring to FIG. 3, this embodiment of the present invention provides a method for establishing a label switched path, including:

Step 201: A route computing unit obtains a link state advertisement message of each node in a network.

An application scenario of this embodiment is as shown in FIG. 4. T1, T2 and A to H are nodes in a network, which are all packet devices, and they are connected through a fiber or microwave link, where a dotted line indicates the microwave link while a solid line indicates the fiber link. An operator hopes to establish a connection between T1 and T2 to implement bearing of a subsequent user service, then in this embodiment, a source node is T1, a sink node is T2, and A to H are intermediate nodes. The route computing unit may be on any node in the network or on a node outside the network.

Before a label switched path is established between T1 and T2, the route computing unit first collects information of each node on the link. Assume that the network adopts OSPF (Open Shortest Path First, open shortest path first) as a routing protocol, each node in the network advertises an LSA (Link State Advertisement, link state advertisement) periodically, and in this way, each node in the network may receive all the LSA messages sent by all other nodes.

For a microwave node, bandwidth resources that the microwave link can provide are different due to external impacts (rain, fog, snow and so on). Each bandwidth resource has corresponding different conditions that can ensure it, and for the microwave node, the different conditions indicate a capability of different bandwidth resources that the microwave node can provide. In this embodiment, the different conditions may be limited by using different availability (Availability) parameters, and an availability parameter uses a percentage to describe a time scale that the bandwidth resource is ensured. Take a node C in FIG. 4 as an example for illustration, and for a link of an interface 0, in 99.9% of the cases, it may be ensured to provide bandwidth of up to 800 Mbps, while in 0.1% of the cases, such high bandwidth may not be provided due to an impact of rain, snow and so on; and in 99.999% of the cases, it may be ensured to provide bandwidth of up to 100 Mbps, while in 0.001% of the cases, such high bandwidth may not be provided due to an impact of rain, snow, and so on.

In this embodiment, the microwave node sends the link state advertisement, which, compared with an existing LSA message, needs to carry a specific message of the microwave link, that is, carry link bandwidth information of the microwave node, where a plurality of link bandwidth is included, and each link bandwidth corresponds to one condition. Take the node C as an example, the node C advertises the LSA message in the network periodically, three links of the node C are all microwave links, and the LSA message includes content shown in Table 1:

TABLE 1 LSA Header (link state advertisement header) Link State ID (link state ID) Advertising Router (advertising router) Link State Sequence Number (link state sequence number) . . . Link_ID0 IF0_IP_address Availability1 (99.9%) 200 Mbps Availability2 (99.95%) 200 Mbps Availability3 (99.99%) 300 Mbps Availability4 (99.999%) 100 Mbps Link_ID1 IF1_IP_address Availability1 (99.9%) 100 Mbps Availability2 (99.95%) 150 Mbps Availability3 (99.99%) 100 Mbps Availability4 (99.999%) 100 Mbps Link_ID2 IF2_IP_address Availability1 (99.9%) 100 Mbps Availability2 (99.95%) 150 Mbps Availability3 (99.99%) 100 Mbps Availability4 (99.999%) 100 Mbps . . .

As shown in Table 1, for each link, a plurality of bandwidth values are carried in the LSA message, and each indicates bandwidth that may be ensured under different availability cases. Link_ID0, Link_ID1 and Link_ID2 correspond to link identities on ports 0, 1 and 2 of the node C, respectively, and IP addresses corresponding to each port are IF1_IP_address, IF1_IP_address, IF2_IP_address and IF3_IP_address. Availability1, Availability2, Availability3 and Availability4 are different availability requirements. A bandwidth value corresponding to each availability requirement indicates a bandwidth amount that may be increased additionally in a case of the availability requirement as compared with an adjacent higher availability requirement. As shown in Table 1, for the link Link_ID0, the bandwidth value corresponding to Availability1 (99.9%) is 200 Mbps, which indicates that, as compared with the availability requirement of Availability2 (99.95%), a bandwidth resource of 200 Mbps may be further provided additionally; the bandwidth value corresponding to Availability4 (99.999%) is 100 Mbps, because there is no availability which is higher than it, it indicates that total bandwidth capable which can be provided under this availability requirement is 100 Mbps; and total bandwidth is 100+300+200+200=800 Mbps under the availability requirement being Availability1 (99.9%). Definitely, total bandwidth which can be provided under each availability requirement may be spread directly in the LSA message, as shown in Table 2, where there is only a difference in an expression manner, but the nature is the same.

TABLE 2 LSA Header (link state advertisement header) Link State ID (link state ID) Advertising Router (advertising router) Link State Sequence Number (link state sequence number) . . . Link_ID0 IF0_IP_address Availability1 (99.9%) 800 Mbps Availability2 (99.95%) 600 Mbps Availability3 (99.99%) 400 Mbps Availability4 (99.999%) 200 Mbps Link_ID1 IF1_IP_address Availability1 (99.9%) 400 Mbps Availability2 (99.95%) 350 Mbps Availability3 (99.99%) 200 Mbps Availability4 (99.999%) 100 Mbps Link_ID2 IF2_IP_address Availability1 (99.9%) 400 Mbps Availability2 (99.95%) 350 Mbps Availability3 (99.99%) 200 Mbps Availability4 (99.999%) 100 Mbps . . .

Step 202: The route computing unit computes an optimum transmission path according to collected link state information and a connection demand of each node in the network.

The route computing unit receives the connection demand, where the connection demand requires to establish the connection between T1 and T2, and requires that total bandwidth of 250 Mbps under an availability requirement of 99.9% is provided, total bandwidth of 160 Mbps under an availability requirement of 99.95% is provided, total bandwidth of 80 Mbps under an availability requirement of 99.99% is provided, and total bandwidth of 30 Mbps under an availability requirement of 99.999% is provided. Generally, the connection demand is determined according to a service demand plan.

The route computing unit computes network topology according to the collected link state information, and computes the optimum path to T2 according to the topology and the link resource information in combination with the foregoing connection request as a constraint condition, and delivers a route computing result to a signaling unit of the signaling source node T1. As shown in FIG. 5, here the optimum path is assumed to be T1-A-B-D-H-T2. That the route computing unit computes the transmission path according to the link state information belongs to the prior art, which is not repeatedly described here in this embodiment.

Step 203: T1 sends a connection establishment request message to T2 through the nodes along the label switched path.

In this embodiment, the connection establishment request message is a Path message of an RSVP-TE (resource reservation-traffic engineering) protocol, and it is transmitted hop-by-hop along A-B-D-H to T2, requiring the label switched path be established with T2. A plurality of bandwidth request information is carried in the connection establishment request message, where the bandwidth request information includes different conditions and bandwidth request information corresponding to the different conditions. The bandwidth information needed under the different conditions is generally determined according to the service demand plan, and matches the different conditions that the microwave link can satisfy. The different conditions in the Path message shown in Table 3 are indicated by different availability parameters:

TABLE 3 Sender_TSpec1 (Availability) (99.9%), 250 Mbps) Sender_TSpec2 (Availability2 (99.95%), 160 Mbps) Sender_TSpec3 (Availability3 (99.99%), 80 Mbps) Sender_TSpec4 (Availability4 (99.999%), 30 Mbps) . . .

As described in Table 3, a plurality of Sender_TSpec objects is carried in the Path message. Each Sender_TSpec is a traffic parameter object, describing a specific bandwidth request. Availability, which the requested bandwidth needs to satisfy, and a corresponding bandwidth value under the availability requirement are included in each Sender_TSpec object. An availability indicator here matches an availability indicator in Table 1, for example, both includes availability indicators of 99.9%, 99.95%, 99.99%, and 99.999%. Total bandwidth of 250 Mbps may be ensured in the case that the bandwidth resource which is required to be allocated in the connection request message is 99.9%, total bandwidth of 160 Mbps may be ensured in the case of 99.95%, total bandwidth of 80 Mbps may be ensured in the case of 99.99%, and total bandwidth of 30 Mbps may be ensured in the case of 99.999%. Different availability requirements and corresponding bandwidth requests are added into the connection establishment request message, so that the microwave node reserves, according to its own characteristic, corresponding bandwidth information according to the different availability requirements, so as to enable maximum utilization of the whole link bandwidth resources while ensuring the availability of the connection.

TABLE 4 Sender_TSpec1 (Availability1 (99.9%), 90 Mbps) Sender_TSpec2 (Availability2 (99.95%), 80 Mbps) Sender_TSpec3 (Availability3 (99.99%), 50 Mbps) Sender_TSpec4 (Availability4 (99.999%), 30 Mbps) . . .

Definitely, as shown in Table 4, the Path message may directly carry a subsidiary bandwidth value corresponding to each availability indicator, that is, only a service bandwidth quota corresponding to a requirement of the availability indicator can be provided, rather than a total bandwidth value corresponding to each availability indicator. For example, the Sender_TSpec1 (Availability1 (99.9%), 90 Mbps) in Table 4 indicates that the subsidiary bandwidth value corresponding to the availability requirement of 99.9% is 90 Mbps, and this part of bandwidth can only be allocated to a service whose availability requirement is 99.9% or lower. Because subsidiary bandwidth corresponding to a high availability requirement may be allocated to a service having a low availability requirement, a total bandwidth value which can be provided under the availability requirement of 99.9% is 90+80+50+30=250 Mbps.

It should be noted that, Table 3 and Table 4 are actually different expression manners of the same bandwidth request information, and this embodiment still uses the expression manner of Table 3 subsequently.

In this embodiment, the different conditions may be replaced by a priority level or a case of a change of the bandwidth, which is not specifically limited in this embodiment here. If taking the change of the bandwidth as an example, assume that various cases of the change of the bandwidth are indexed by c1, c2, . . . , cn, then accordingly, a modification of the LSA message may be as in Table 5:

TABLE 5 LSA Header Link State ID Advertising Router Link State Sequence Number . . . Link_ID0 IF0_IP_address c1 200 Mbps c2 200 Mbps c3 300 Mbps c4 100 Mbps Link_ID1 IF1_IP_address c1 100 Mbps c2 150 Mbps c2 100 Mbps c4 100 Mbps Link_ID2 IF2_IP_address c1 100 Mbps c2 150 Mbps c3 100 Mbps c4 100 Mbps . . .

A corresponding Path message may be modified as shown in Table 6:

TABLE 6 Sender_TSpec1 (c1, 250 Mbps) Sender_TSpec2 (c2, 160 Mbps) Sender_TSpec3 (c3, 80 Mbps) Sender_TSpec4 (c4, 30 Mbps) . . .

Step 204: The nodes on the label switched path receive the connection establishment request message.

Each node in the link from T1 to T2 receives the connection establishment request message sent by T1, and reserves corresponding bandwidth, where the node on the label switched path includes a source node, an intermediate node, and a sink node. In a special case, there may be a case that only the source node and the sink node exist on the label switched path, which is not specifically limited in this embodiment.

Step 205: The nodes on the label switched path reserve, according to the bandwidth request information corresponding to the different conditions, corresponding bandwidth resources in subsidiary remaining bandwidth corresponding to the different conditions on their local links

In this embodiment, the nodes from T1 to T2 include the microwave nodes (A, B, and D) and the fiber node (H). After receiving the connection establishment request message, the microwave nodes compare the corresponding bandwidth request under each availability requirement carried in it with the remaining bandwidth under the corresponding availability requirement on their local links, to judge whether the remaining bandwidth under the corresponding availability requirement on their local links satisfies the bandwidth request under each availability requirement, and if it is satisfied, continue the path establishing procedure and configure bandwidth reserving information on the nodes. In the connection establishment request message received by the node B as shown in Table 2, bandwidth of 250 Mbps may be ensured in the case that the bandwidth resource, which is required to be allocated, is 99.9%, bandwidth of 160 Mbps may be ensured in the case of 99.95%, bandwidth of 80 Mbps may be ensured in the case of 99.99%, and bandwidth of 30 Mbps may be ensured in the case of 99.999%. As shown in Table 6, it is a table of remaining bandwidth quotas maintained by the node B, where each entry describes the amount of the subsidiary remaining bandwidth which can be ensured under each of the different availability requirements. Table 7 indicates that the subsidiary remaining bandwidth, which can be ensured to obtain under the availability of 99.9%, is 300 Mbps; the subsidiary remaining bandwidth, which can be ensured to obtain under the availability of 99.95%, is 100 Mbps; the subsidiary remaining bandwidth, which can be ensured to obtain under the availability of 99.99%, is 100 Mbps; and the subsidiary remaining bandwidth, which can be ensured to obtain under the availability of 99.999%, is 100 Mbps.

TABLE 7 Subsidiary remaining Availability bandwidth (Mbps)  99.9% 300 99.95% 100 99.99% 100 99.999%  100

Because subsidiary bandwidth of high availability is always usable in a case that subsidiary bandwidth of low availability is usable, total bandwidth, which can be provided under a low availability condition, is a sum of the subsidiary remaining bandwidth under the low availability condition and the subsidiary remaining bandwidth corresponding to all the high availability. Therefore, bandwidth requests that the node B may ensure under different availability requirements, that is, a bandwidth request of 600 Mbps that may be ensured in the case of 99.9%, a bandwidth request of 300 Mbps that may be ensured in the case of 99.95%, a bandwidth request of 200 Mbps that may be ensured in the case of 99.99%, and a bandwidth request of 100 Mbps that may be ensured in the case of 99.999%, may be obtained through computing according to Table 6. If judging that the remaining bandwidth can satisfy the bandwidth request carried in the connection establishment request message in the cases of different availability, the node B reserves corresponding requested bandwidth information for the request. A specific procedure is as follows:

(1) According to the bandwidth requests corresponding to the different conditions, compute the bandwidth, which needs to be reserved under each condition

In this embodiment, the number of subsidiary bandwidth requests, which are needed and correspond to different availability, is computed according to the bandwidth request, and the specific computing method is that, because the total bandwidth which can be provided by the microwave node under the low availability condition is the sum of the remaining bandwidth under the low availability and the remaining bandwidth corresponding to all the high availability, the subsidiary bandwidth which needs to be reserved under each condition is obtained by subtracting a bandwidth request, which corresponds to a high condition of a next level of each condition, from the bandwidth request, which corresponds to each condition in the different conditions. As in Table 8, under the condition of the availability of 99.9%, needed subsidiary bandwidth is: the corresponding bandwidth under the condition of 99.9% minus the corresponding bandwidth under the condition of 99.95%, that is, 250−160=90 Mbps, and by analogy, computing results obtained are as shown in Table 8.

TABLE 8 Subsidiary bandwidth Availability demand (Mbps)  99.9% 90 99.95% 80 99.99% 50 99.999%  30

In addition, it should be noted that, this step of computing is not needed when the Sender_TSpec object of the bandwidth request information directly carries the subsidiary bandwidth demand which corresponds to the availability directly under the different availability, rather than the total bandwidth under the different availability requirements.

(2) Compare to see whether the subsidiary remaining bandwidth under each availability condition satisfies the subsidiary bandwidth demand, and if the subsidiary remaining bandwidth is greater than or equal to the subsidiary bandwidth demand under each availability condition, the bandwidth request is satisfied. In this embodiment, compare the subsidiary bandwidth demand corresponding to each availability in Table 8 with the corresponding subsidiary remaining bandwidth in Table 7 under the same availability as in Table 8, that is, compare the corresponding subsidiary bandwidth demand under 99.9%, 99.95%, 99.99%, and 99.999% in Table 8 with the corresponding subsidiary remaining bandwidth in Table 7, respectively, and if the remaining bandwidth in Table 7 satisfies the demand in Table 8, the establishment of the label switched path is continued.

In addition, it should be noted that, if the subsidiary bandwidth demand of low availability is not satisfied in this embodiment, under a certain policy, the subsidiary remaining bandwidth of high availability may be borrowed to satisfy the demand, while the reverse is not so. In this embodiment, under a certain policy, it may also not be allowed to use the subsidiary remaining bandwidth of high availability to satisfy the subsidiary bandwidth demand of low availability, which is not specifically limited in this embodiment. If the bandwidth request cannot be fully satisfied, an error message PathErr is returned.

If an availability condition carried in the connection establishment request does not match an availability condition in the microwave node, subsidiary remaining bandwidth corresponding to minimum availability which is higher than the availability condition carried in the connection establishment request is used for allocation. That is, if an availability condition of 99.98% appears, while as shown in Table 7, there is no such availability condition, the requested bandwidth of 99.98% is compared with the remaining bandwidth of 99.99% in Table 7, that is, according to a principle that the subsidiary bandwidth request of low availability may be satisfied by using the subsidiary remaining bandwidth of high availability.

(3) Perform bandwidth reservation and update the remaining bandwidth quota table, that is, subtract the allocated bandwidth from the current remaining bandwidth. Table 9 indicates an updated remaining bandwidth quota table.

TABLE 9 Subsidiary remaining Availability bandwidth (Mbps)  99.9% 210 99.95% 20 99.99% 50 99.999%  70

In this embodiment, the node B reserves corresponding bandwidth for the label switched path according to the bandwidth demand in Table 8, where corresponding bandwidth is reserved under each condition, and total bandwidth which a lower level of condition can ensure is a sum of reserved bandwidth under this level of condition and reserved bandwidth under all the higher levels of conditions.

In this embodiment, after the fiber node receives the connection establishment request message, since the fiber node belongs to a fixed bandwidth medium and is not affected by the weather, in order to ensure the bandwidth resource requirement of the connection, the fiber node obtains maximum total bandwidth request information corresponding to the condition carried in the connection establishment request message, and judge whether the maximum total bandwidth request is smaller than or equal to the remaining bandwidth of the local link, and if yes, reserve the maximum bandwidth information for the link. For example, the maximum total bandwidth request in the connection establishment request message is 250 Mbps, and bandwidth information of 250 Mbps is reserved for the link.

Step 206: The T2 node returns a connection establishment response message after receiving the connection establishment request message, so as to complete the establishment of the label switched link.

In this embodiment, the connection establishment is completed after all the nodes finish processing the connection establishment response message.

In this embodiment, after the label switched path is established successfully, a current bandwidth working mode is carried in the Path message by carrying a current activated Sender_TSpec sequence number in the message or by setting an activated identifier in the Sender_TSpec object. In this way, after one microwave link adjusts the bandwidth when being affected by the external environment, the microwave link notifies the state to the source node, and after receiving the notification, the source node carries the adjusted bandwidth information in the Path message which is sent subsequently, so that each node adjusts current bandwidth according to the adjusted bandwidth information, and reserves the bandwidth for the link again, thereby more effective utilizing the link bandwidth resource. For convenience of understanding of persons skilled in the art, an example is given as follows:

TABLE 10 . . . Sender_TSpec1 (Availability1 (99.9%), 250 Mbps) Sender_TSpec2 (Availability2 (99.95%), 160 Mbps) Sender_TSpec3 (Availability3 (99.99%), 80 Mbps) Sender_TSpec4 (Availability4 (99.999%), 30 Mbps) Active_Sender_Tspec(Sender_TSpec1) . . .

(1) Carry an Active_Sender_TSpec object in the Path message to indicate the current bandwidth information. As shown in Table 10, in a normal state, when the Active_Sender_TSpec object indicates Sender_TSpec1 as an activated object, it indicates that the current state is that the LSP occupies bandwidth of 250 Mbps.

TABLE 11 . . . Sender_TSpec1 (Availability1 (99.9%), 250 Mbps) Sender_TSpec2 (Availability2 (99.95%), 160 Mbps) Sender_TSpec3 (Availability3 (99.99%), 80 Mbps) Sender_TSpec4 (Availability4 (99.999%), 30 Mbps) Active_Sender_Tspec(Sender_TSpec3) . . .

(2) When one microwave link is affected by the external environment, and only A bandwidth resource under the availability of 99.99% can be ensured, the microwave node notifies the state to the source node T1 node, and the T1 node uses the Active_Sender_TSpec object to indicate the Sender_TSpec3 as an activated object in the Path message which is sent subsequently, as shown in Table 11, which indicates that currently the LSP bandwidth is reduced to 80 Mbps.

(3) The nodes on the label switched path receive the Path message, and learn that at p resent, the LSP bandwidth is reduced to 80 Mbps, so that the additional bandwidth of 170 Mbps may be shared by other services.

Beneficial effects of the technical solution in the embodiment of the present invention are that: Different conditions and corresponding bandwidth request information under the different conditions are carried in the initiated connection establishment request message, so that the nodes on the label switched path may reserve bandwidth information according to their own characteristics, and maximum utilization of the bandwidth resource is enabled under a precondition that the link availability is ensured.

Embodiment 3

Referring to FIG. 6, this embodiment of the present invention provides a node device, including a first receiving module 301 and an executing module 302.

The first receiving module 301 is configured to receive a connection establishment request message sent by a source node to a sink node, where the connection establishment request message carries bandwidth request information corresponding to different conditions, and each of the bandwidth request information corresponds to one condition.

The executing module 302 is configured to reserve, according to the bandwidth request information corresponding to the different conditions, a corresponding bandwidth resource in subsidiary remaining bandwidth corresponding to the different conditions on a local link, thereby establishing a connection between the source node and the sink node.

Referring to FIG. 7, further in this embodiment, the node device further includes:

a sending module 303, configured to send a link state advertisement before the connection establishment request message sent by the source node to the sink node is received, so that a route computing unit is enabled to obtain network topology information according to the collected link state advertisement, obtain, through computing based on the topology information, a connection route of a label switched path between the source node and the sink node, and deliver the connection route of the label switched path to a signaling unit of the source node, where the link state advertisement carries link bandwidth under different conditions, and each of the link bandwidth responds to one condition.

Referring to FIG. 7, when the node device on the label switched path is a microwave node device, the executing module 302 includes:

a first judging unit 302 a, configured to judge whether a subsidiary bandwidth demand in the corresponding bandwidth request information under each of the different conditions is smaller than or equal to the subsidiary remaining bandwidth under the corresponding condition on the local link; and

an executing unit 302 b, configured to, if the first judging unit judges that the subsidiary bandwidth demand in the corresponding bandwidth request information under each of the different conditions is smaller than or equal to the subsidiary remaining bandwidth under the corresponding condition on the local link, reserve, under each condition, the subsidiary bandwidth demand in the corresponding bandwidth request information under each of the different conditions.

Furthermore, in this embodiment, the executing module further includes:

a computing unit 302 c, configured to, before the first judging unit 302 a performs judgment, compute, according to bandwidth requests corresponding to the different conditions, subsidiary

h, which needs to be reserved under each condition.

Referring to FIG. 7, in this embodiment, when the node device on the label switched path is a fiber node device, the executing module 302 includes:

an obtaining unit 302 a′, configured to obtain maximum total bandwidth information carried in the connection establishment request message; and

a second judging unit 302 b′, configured to judge whether the maximum total bandwidth is smaller than or equal to the subsidiary remaining bandwidth on the local link; and if yes, reserve the maximum total bandwidth.

Referring to FIG. 7, further, the device in this embodiment further includes:

a second receiving module 304, configured to receive a connection maintenance request message sent by the source node, where the connection maintenance request message carries an adjusted bandwidth requirement; and

an adjusting module 305, configured to adjust current bandwidth according to the adjusted bandwidth requirement.

The condition in this embodiment includes: an availability parameter, a priority level, or a case of a change of the bandwidth.

Referring to FIG. 8, the embodiment of the present invention provides a system for establishing a label switched path, including: a source node device 401 and a sink node device 402.

The source node device 401 is configured to send a connection establishment request message along a label switched path to the sink node, where the connection establishment request message carries bandwidth request information corresponding to different conditions, and each of the bandwidth request information corresponds to one condition.

The sink node device 402 is configured to receive the connection establishment request message sent by the source node device, reserve, according to the bandwidth request information corresponding to the different conditions, a corresponding bandwidth resource in remaining bandwidth corresponding to the different conditions on a local link, and return a connection establishment response message through an intermediate node device along the label switched path, thereby establishing a connection between the source node device and the sink node device.

Referring to FIG. 9, further in this embodiment, the system further includes:

an intermediate node device 403, configured to receive the connection establishment request message sent by the source node device to the sink node device, and reserve, according to the bandwidth request information corresponding to the different conditions, a corresponding bandwidth resource in remaining bandwidth corresponding to the different conditions on a local link.

Further, in this embodiment, the source node device 401 is further configured to, before sending the connection establishment request message along the label switched path, reserve, according to the bandwidth request information corresponding to the different conditions, a corresponding bandwidth resource in remaining bandwidth corresponding to the different conditions on a local link.

In this embodiment, when the source node device 401, the intermediate node device 403 and the sink node device 402 are microwave node devices, the source node device 401, the intermediate node device 403 and the sink node device 402 are further configured to send a link state advertisement before the connection establishment request message sent by the source node device to the sink node device is received, so that a route computing unit is enabled to obtain network topology information according to the collected link state advertisement, obtain, through computing based on the topology information, a connection route of the label switched path between the source node and the sink node, and deliver the connection route of the label switched path to a signaling unit of the source node, where the link state advertisement carries link bandwidth under different conditions, and each of the link bandwidth corresponds to one condition.

When the source node device 401, the intermediate node device 403 and the sink node device 402 are microwave node devices, the reserving, according to the bandwidth request information corresponding to the different conditions, the corresponding bandwidth resources in the subsidiary remaining bandwidth corresponding to the different conditions on their local links includes:

judging whether a subsidiary bandwidth demand in the corresponding bandwidth request information under each of the different conditions is smaller than or equal to the subsidiary remaining bandwidth under the corresponding condition on the local link; and

if yes, reserving, under each condition, the subsidiary bandwidth demand in the corresponding bandwidth request information under each of the different conditions.

In this embodiment, when the source node device 401, the intermediate node device 403 and the sink node device 402 are fiber node devices, the reserving, according to the bandwidth request information corresponding to the different conditions, the corresponding bandwidth resources in the subsidiary remaining bandwidth corresponding to the different conditions on their local links includes:

obtaining maximum total bandwidth information carried in the connection establishment request message;

judging whether the maximum total bandwidth is smaller than or equal to the subsidiary remaining bandwidth on the local link; and

if yes, reserving the maximum total bandwidth.

Beneficial effects of the embodiment of the present invention are that: Corresponding bandwidth request information under different conditions is carried in the initiated connection establishment request message, so that the nodes on the label switched path may reserve bandwidth information according to their own characteristics, and maximum utilization of the bandwidth resource is enabled under a precondition that link availability is ensured.

The node device and the system provided in this embodiment may specifically belong to a same concept of the method embodiment, and reference may be made to the method embodiment for the specific implementation manner, which is not repeatedly described here.

All or part of the foregoing technical solutions provided in the embodiments of the present invention may be implemented by a program instructing relevant hardware. The program may be stored in a readable storage medium, and the storage medium include various media that may store program codes, such as a ROM, a RAM, a magnetic disk, a compact disk, and so on.

The foregoing descriptions are merely exemplary embodiments of the present invention, but are not intended to limit the present invention. Any modification, equivalent replacement, or improvement made without departing from the spirit and principle of the present invention shall fall within the protection scope of the present invention. 

1. A method for establishing a label switched path, comprising: receiving a connection establishment request message sent by a source node to a sink node, wherein the connection establishment request message carries bandwidth request information corresponding to different conditions; and reserving, according to the bandwidth request information corresponding to the different conditions, bandwidth resources in subsidiary remaining bandwidth corresponding to each of the different conditions on a local link, and establishing a connection between the source node and the sink node.
 2. The method according to claim 1, wherein before the receiving, the method further comprises: sending a link state advertisement, so that a route computing unit is enabled to: obtain network topology information according to the collected link state advertisement, obtain, through computing based on the topology information, a connection route of a label switched path between the source node and the sink node, and deliver the connection route of the label switched path to a signaling unit of the source node, wherein the link state advertisement carries link bandwidth information under different conditions.
 3. The method according to claim 1, wherein when the nodes on the label switched path are microwave nodes, and wherein the reserving and establishing further comprises: judging whether a subsidiary bandwidth demand in the bandwidth request information under each of the different conditions is smaller than or equal to the subsidiary remaining bandwidth under each of the corresponding conditions on the local link; and reserving, in response to determining that the subsidiary bandwidth demand is small than or equal to the subsidiary remaining bandwidth under each of the different conditions on the local link, a subsidiary bandwidth corresponding to the subsidiary bandwidth demand under each of the different conditions.
 4. The method according to claim 3, wherein before the judging, the method further comprises: computing subsidiary bandwidth which needs to be reserved under each condition of the different conditions based on the bandwidth request information corresponding to the different conditions.
 5. The method according to claim 1, wherein when the nodes on the label switched path are fiber nodes, and wherein the reserving and establishing further comprises: obtaining a maximum total bandwidth carried in the connection establishment request message; judging whether the maximum total bandwidth is smaller than or equal to the subsidiary remaining bandwidth on the local link; and reserving, in response to judging that the maximum total bandwidth is smaller than or equal to the subsidiary remaining bandwidth on the local link, the maximum total bandwidth.
 6. The method according to claim 1, further comprising: receiving a connection maintenance request message sent by the source node, wherein the connection maintenance request message carries an adjusted bandwidth requirement; and adjusting current bandwidth according to the adjusted bandwidth requirement.
 7. The method according to claim 1, wherein the different conditions are based on: an availability parameter, a priority level, or a case of a change of the bandwidth.
 8. A node device, comprising: a first receiving module, configured to receive a connection establishment request message sent by a source node to a sink node, wherein the connection establishment request message carries bandwidth request information corresponding to different conditions; and an executing module, configured to reserve, according to the bandwidth request information corresponding to the different conditions, bandwidth resources in remaining bandwidth corresponding to each of the different conditions on a local link, and establishing a connection between the source node and the sink node.
 9. The device according to claim 8, further comprising: a sending module, configured to send a link state advertisement before the connection establishment request message sent by the source node to the sink node is received, so that a route computing unit is enabled to: obtain network topology information according to the collected link state advertisement, obtain, through computing based on the topology information, a connection route of a label switched path between the source node and the sink node, and deliver the connection route of the label switched path to a signaling unit of the source node, wherein the link state advertisement carries link bandwidth information under different conditions.
 10. The device according to claim 8, wherein when the node device is a microwave node device, and wherein the executing module comprises: a judging unit, configured to judge whether a subsidiary bandwidth demand in the bandwidth request information under each of the different conditions is smaller than or equal to the subsidiary remaining bandwidth under each of the corresponding conditions on the local link; and an executing unit, configured to, in response to the first judging unit judging that the subsidiary bandwidth demand under each of the different conditions is smaller than or equal to the remaining bandwidth under each of the corresponding conditions on the local link, reserve a subsidiary bandwidth corresponding to the subsidiary bandwidth demand under each of the different conditions.
 11. The device according to claim 10, wherein the executing module further comprises: a computing unit, configured to compute subsidiary bandwidth which needs to be reserved under each condition of the different conditions based on the bandwidth request information corresponding to the different conditions before the first judging unit performs judgment.
 12. The device according to claim 8, wherein when the node device is a fiber node device, the executing module comprises: an obtaining unit, configured to obtain maximum total bandwidth carried in the connection establishment request message; and a judging unit, configured to judge whether the maximum total bandwidth is smaller than or equal to the subsidiary remaining bandwidth on the local link, and in response to judging that the maximum total bandwidth is smaller than or equal to the subsidiary remaining bandwidth on the local link, reserve the maximum total bandwidth.
 13. The device according to claim 8, further comprising: a second receiving module, configured to receive a connection maintenance request message sent by the source node, wherein the connection maintenance request message carries an adjusted bandwidth requirement; and an adjusting module, configured to adjust current bandwidth according to the adjusted bandwidth requirement.
 14. The device according to claim 8, wherein the different conditions are based on: an availability parameter, a priority level, or a case of a change of bandwidth.
 15. A system for establishing a label switched path, comprising: a source node device and a sink node device, wherein the source node device is configured to send a connection establishment request message along a label switched path, wherein the connection establishment request message carries bandwidth request information corresponding to different conditions; and the sink node device is configured to: receive the connection establishment request message sent by the source node device, reserve, according to the bandwidth request information corresponding to the different conditions, a bandwidth resource in remaining bandwidth corresponding to each of the different conditions on a local link, and return a connection establishment response message through an intermediate node device along the label switched path, thereby establishing a connection between the source node device and the sink node device.
 16. The system according to claim 15, further comprising: the intermediate node device, configured to receive the connection establishment request message sent by the source node device to the sink node device, and reserve, according to the bandwidth request information corresponding to the different conditions, a bandwidth resource in the remaining bandwidth corresponding to each of the different conditions on a local link of the intermediate node device.
 17. The system according to claim 15, wherein the source node device is further configured to, before sending the connection establishment request message along the label switched path, reserve, according to the bandwidth request information corresponding to the different conditions, a bandwidth resource in remaining bandwidth corresponding to each of the different conditions on a local link of the source node device.
 18. The system according to claim 15, wherein when the source node device, the intermediate node device and the sink node device are microwave node devices, the source node device, the intermediate node device and the sink node device are further configured to send a link state advertisement before the connection establishment request message sent by the source node device to the sink node device is received, so that a route computing unit is enabled to: obtain network topology information according to the collected link state advertisement, obtain, through computing based on the topology information, a connection route of the label switched path between the source node and the sink node, and deliver the connection route of the label switched path to a signaling unit of the source node, wherein the link state advertisement carries link bandwidth information under different conditions.
 19. The system according to claim 15, wherein when the source node device, the intermediate node device and the sink node device are microwave node devices, and wherein the sink node being configured to reserve the bandwidth resource corresponding to each of the different conditions further comprises the sink node being configured to: judge whether a bandwidth demand under each of the different conditions, which is obtained through computing and is in the bandwidth request information, is smaller than or equal to the remaining bandwidth under each of the different corresponding conditions on the local link; and reserve, in response to judging that the bandwidth demand under each of the different conditions is smaller than or equal to the remaining bandwidth under each of the corresponding conditions on the local link, the bandwidth corresponding to the bandwidth demand under each of the different conditions.
 20. The system according to claim 15, wherein when the source node device, the intermediate node device and the sink node device are fiber node devices, and wherein the sink node being configured to reserve the bandwidth resource corresponding to each of the different conditions further comprises the sink node being configured to: obtain a maximum total bandwidth carried in the connection establishment request message; judge whether the maximum total bandwidth is smaller than or equal to the remaining bandwidth on the local link; and reserve, in response to judging that the maximum total bandwidth is smaller than or equal to the remaining bandwidth, the maximum total bandwidth. 